package com.itheima.dto;

import com.itheima.pojo.Order;
import com.itheima.pojo.OrderDetail;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDto extends Order {
    private List<OrderDetail> orderDetails;
    private Integer sumNum;
}
